#include "Mesh_PCH.h"
#include "IMesh.h"

/*--------------------------------------------------------------------------*/

IMesh::IMesh()
{

}

/*--------------------------------------------------------------------------*/

IMesh::~IMesh()
{

}

/*--------------------------------------------------------------------------*/

void IMesh::CreateInstance()
{
	if (!g_Mesh)
	{
		g_Mesh = new CMesh();
	}
}

/*--------------------------------------------------------------------------*/

void IMesh::DestroyInstance()
{
	if (g_Mesh)
	{
		delete g_Mesh;
		g_Mesh = NULL;
	}
}

/*--------------------------------------------------------------------------*/
